package cn.cj.erp.common.enums;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 操作类别
 * @author chenjian
 */
public enum LogOperatorTypeEnum implements BaseEnum {
    OTHER("0", "其他"),
    PC("1", "后台用户"),
    MOBILE("2", "手机端用户"),
    ;

    @JsonValue
    private final String value;
    private final String label;

    LogOperatorTypeEnum(String value, String info) {
        this.value = value;
        this.label = info;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
